<div class="wrapper-bz-page">
    <div class="wrapper-bz-body" >
        <table id="table_lib_word_en_type" style="width:100%;height:100%"></table>
    </div>
</div>
<div id="dialog_add_lib_word_en_type"></div>
<div id="dialog_edit_lib_word_en_type"></div>

<script>
    $(function () {
        var listTable = [
            {subject_keyword: "lib_word_en_type", page_code: "lib_word_en_type"},
        ];
        var datagridConfigList = $(document).getDatagridConfig(listTable);
        console.log("config:", datagridConfigList);
        $.each(listTable, function (index, item) {
            console.log("foreach:", index);
            $('#table_' + item.subject_keyword).datagrid(datagridConfigList[index]);
        });
    });
</script>